﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Eassets.UI.GlobalReference
{
    public partial class GlobalReferenceMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {


            //if (arrayTreePrograms.Contains(Page.Request.AppRelativeCurrentExecutionFilePath))
            //{
            //    tabContainerMenuTree.ActiveTabIndex = 1;
            //}
            if (tabContainerMenuTree.Tabs.Count > 1)
            {
                tabContainerMenuTree.Tabs.RemoveAt(1);
            }
        }

        protected void OrganizationLevels_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("OrganizationLevelForm.aspx");
        }

        protected void OrganizationLevelList_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("OrganizationLevelListForm.aspx");
        }

        protected void EmployeeDetails_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("EmployeeDetailsForm.aspx");
        }

        protected void TransactionType_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("TransactionTypeForm.aspx");
        }

        protected void WorkFlowDocument_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("WorkFlowDocumentForm.aspx");
        }

        protected void AuthorizationGroup_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("AuthorizationGroupsForm.aspx");
        }

        protected void AuthorizationGroupMember_OnClick(object sender, EventArgs e)
        {
            Response.Redirect("AuthorizationGroupMemberForm.aspx");
        }
    }
}